package org.deng.java.designpattern.factorypattern.simplefactory;

/**
 * packageName org.deng.java.designpattern.factorypattern.simplefactory
 *  食物类
 * @author dengjinzhang
 * @version JDK 1.8
 * @date 2024/9/28
 * @description TODO
 */
public class Food {
    public  static  String foodName;
    public void Food(String foodName){
        this.foodName = foodName;
    }

    public String getName(String foodName){
        return foodName;
    }
}
